package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.Range;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
// 钻井期间钻井液性能 对应表 DR_FLUID_PERFORMANCE
@Table(name = "DR_FLUID_PERFORMANCE")
public class DR_FluidPerformance extends BABaseEntity {
    @Id
    @GenericGenerator(name="fluidPerformanceGenerator", strategy="uuid")
    @GeneratedValue(generator="fluidPerformanceGenerator")
    private String DR_FluidPerformance_ID;

    @Basic
    @Column(name = "BITSIZE")
    private Double bitSize;

    @Basic
    @Column(name = "DENSITY")
    private Double density;

    @Basic
    @Column(name = "FV")
    private Double FV;

    @Basic
    @Column(name = "AV")
    private Double AV;

    @Basic
    @Column(name = "YP")
    private Double YP;

    @Basic
    @Column(name = "GEL10S")
    private Double GEL10S;

    @Basic
    @Column(name = "GEL10M")
    private Double GEL10M;

    @Basic
    @Column(name = "RPM600")
    private Double RPM600;

    @Basic
    @Column(name = "RPM300")
    private Double RPM300;

    @Basic
    @Column(name = "RPM200")
    private Double RPM200;

    @Basic
    @Column(name = "RPM100")
    private Double RPM100;

    @Basic
    @Column(name = "RPM6")
    private Double RPM6;

    @Basic
    @Column(name = "RPM3")
    private Double RPM3;

    @Basic
    @Column(name = "OILCONTENT")
    private Double oilContent;

    @Basic
    @Column(name = "WATERCONTENT")
    private Double waterContent;

    @Basic
    @Column(name = "SOLIDCONTENT")
    private Double solidContent;

    @Basic
    @Column(name = "THERMALCONDUCTIVITY")
    private Double thermalConductivity;

    @Basic
    @Column(name = "SPECIFICHEAT")
    private Double specificHeat;

    @Basic
    @Column(name = "STAUTS", length = 50)
    private String stauts;

    @Basic
    @Column(name = "BITDEPTH")
    private Double bitDepth;

    @ManyToOne
    @JoinColumn(name="ba_well_id")
    private BA_Well well;

}
